﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Multitenant.Application.IServices.IRole
{
    public class RoleDTO
    {
        /// <summary>
        /// 角色编号
        /// </summary>

        [Required]
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [MaxLength(20)]
        public string? RoleName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// PId数组
        /// </summary>
        public string[]? PIds { get; set; }
    }
}
